package com.sa.web.dao.service;

import java.util.List;

import com.sa.web.bean.AdminBean;
import com.sa.web.bean.StuInfoBean;

public interface AdminInfoDao {
    /** 获取管理员列表*/
	public List<AdminBean> getAdminInfoList(String adminName,int start,int size);
	/** 获得管理员总数*/
	public Integer getAdminInfoCount(String adminName);
	/** 删除管理员*/
	public boolean deleteAdminInfo(String adminId);
    /** 添加管理员*/
	public boolean addAdminInfo(AdminBean adminInfo);
    /** 更新管理员*/
	public boolean updateAdminInfo(AdminBean adminInfo) ;
	/** 获得单条管理员信息*/
	public AdminBean getAdminInfo(String adminId);
	
	public AdminBean adminLogin(String adminName);
}
